<extend name="Base/common"/>
<block name="style">
    <style type="text/css">
        .welcome a:hover{
            cursor: pointer;
        }
    </style>
</block>


<block name="body">
    <div id="page-wrapper">
        <div id="page-inner">

            <div class="row">
                <div class="col-md-12">
                    <div class="breadcrumb">
                        <p class="coname">{$user.nickname}</p>

                        <p class="welcome">欢迎登录<?php
                              $data=M("Config")->where(array('name'=>'WEB_SITE_TITLE'))->field('id,name,title,extra,value,type')->find();
                              echo $data['value'];
                            ?></p>
                         <p class="welcome">收货地址：
                            <empty name="info.address">
                              暂无 <a href="{:U('Index/editadd')}">添加</a>
                            <else/>
                              {$info.address}  <a href="{:U('Index/editadd')}">修改</a>
                           </empty>
                        </p>
                        <p class="welcome">联系方式：
                            <empty name="info.mobile">
                                暂无 <a href="{:U('Index/editadd')}">添加</a>
                                <else/>
                                {$info.mobile}  <a href="{:U('Index/editadd')}">修改</a>
                            </empty>
                        </p>
                    </div>
                </div>
            </div>

            <div class="row">
                <div class="col-md-12">
                    <div class="breadcrumb">
                        <header style="padding: 5px 10px; font-size: 16px;border-left: 8px solid #8084e7;">
                                 网站描述
                         </header>
                        <p class="welcome" style="padding-left: 10px;">{$data.value}</p>
                    </div>
                </div>
            </div>

            <div class="row">
                <div class="col-md-12">
                    <div class="breadcrumb">
                        <div style="padding: 20px 0;">
                            <header style="padding: 5px 10px; font-size: 16px;border-left: 8px solid #8084e7;">
                                 运营中心地址
                            </header>
                           <p class="welcome" style="padding-left: 10px;"><?php
                              $data=M("Config")->where(array('name'=>'WEB_YUNLING_ADRESS'))->field('id,name,title,extra,value,remark,type')->find();
                              echo $data['value'];
                            ?></p>
                        </div>

                         <div style="padding: 20px 0;">
                            <header style="padding: 5px 10px; font-size: 16px;border-left: 8px solid #8084e7;">
                                 退货地址
                            </header>
                           <p class="welcome" style="padding-left: 10px;"><?php
                              $data=M("Config")->where(array('name'=>'WEB_TUIHUO_ADRESS'))->field('id,name,title,extra,value,remark,type')->find();
                              echo $data['value'];
                            ?></p>
                        </div>
                    </div>
                </div>
            </div>

        </div>
        <!-- /. PAGE INNER  -->
    </div>
</block>
